package com.abel;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/4/26.
 */
public class OutMemoryDemo {
    public static void main(String[] args) {
        OutMemoryDemo outMemoryDemo = new OutMemoryDemo();
        outMemoryDemo.test();

    }
    public void test(){
        List<Object> lists = new ArrayList<Object>();
        System.out.println("--start--");
        while(true){
            lists.add(new Object());
        }
    }
}
